#ifndef __LOGGING_H__
#define __LOGGING_H__

typedef enum log_level_e {
    LOG_LEVEL_ERROR = 0,
    LOG_LEVEL_WARNING,
    LOG_LEVEL_INFO,
    LOG_LEVEL_DEBUG,
    LOG_LEVEL_INVALID
} log_level_e;

int logging_init(void);
int logging(log_level_e level, const char *format, ...);
void logging_exit(void);

#endif